<PRE><SPAN style="COLOR: #0000ff">function</SPAN> promptForSave(evt, src)
{
	<SPAN style="COLOR: #0000ff">return</SPAN> <SPAN style="COLOR: #0000ff">confirm</SPAN>('Do you wish to change the contents from "<SPAN style="COLOR: #8b0000">' + </SPAN>
		src.prevText + '"<SPAN style="COLOR: #8b0000"> to </SPAN>"' + src.editWrapper.getText() + '"<SPAN style="COLOR: #8b0000">');</SPAN>
}

<SPAN style="COLOR: #0000ff">function</SPAN> toolBarActionHandler(btn, src)
{
	<SPAN style="COLOR: #0000ff">alert</SPAN>(btn.clickAction + ' by ' + src.id);
}</PRE>
